﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TianShu.LicenseAuthorizer.Abstracts
{
    /// <summary>
    /// license实体类
    /// </summary>
    public class LicenseAuthorizerDto
    {
        public string AppKey { get; set; }
        public string CustomerCode { get; set; }
        public string CustomerId { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public int AccountCount { get; set; }

        public string MachineInfo { get; set; }

        /// <summary>
        /// 是否启用模块授权
        /// </summary>
        public bool IsModuleAuth { get; set; }
        /// <summary>
        /// 模块id
        /// </summary>
        public List<Guid> ModuleIds { get; set; } = new List<Guid>();
    }
}
